<?php

class Kd_Data_Dcl_Expression_Table extends Kd_Data_Dcl_Expression_Base {

    private $_name = '';
    private $_alias = '';

    public function __construct($name = '', $alias = ''){
        parent::__construct();
        $this->_name = $name;
        $this->_alias = $alias;
    }

    public function getName(){
        return $this->_name;
    }
    public function setName($value){
        $this->_name = $value;
        return $this;
    }

    public function getAlias(){
        return $this->_alias;
    }
    public function setAlias($value){
        $this->_alias = $value;
        return $this;
    }

    public function getExpressionType(){
        return 'table';
    }
}